import request from '@/utils/request'

export function getList(id) {
  return request({
    url: `information/getAll/${id}`,
    method: 'get'
  })
}

export function add(form) {
  return request({
    url: `information/add`,
    method: 'post',
    form
  })
}

export function getUser(account) {
  return request({
    url: '/user/findByCondition/${account}',
    method: 'get'
  })
}
